package edu.fudan.langlab.domain.notification
import org.springframework.stereotype.Service

@Service("NotificationAsyncSenderService")
class NotificationAsyncSender extends Thread{
	(void)=>void rt
	override run() {
		println('===========>start runnable=======')
		rt.apply(null)
	}
	def execute((void)=>void r){
		rt = r
		this.start
	}
}